package com.bean;

import java.io.Serializable;

public class Seat implements Serializable {

    private Integer id;
    private  Integer cinemaId;
    private  Integer rows;
    private  Integer number;
    private  Integer state;
    private String filmsId;
    private String choose;
    private Integer spare;

    public Seat() {
    }

    public Seat(Integer id) {
        this.id = id;
    }

    public Seat(Integer id, Integer cinemaId, Integer rows, Integer number, Integer state, String filmsId, String choose, Integer spare) {
        this.id = id;
        this.cinemaId = cinemaId;
        this.rows = rows;
        this.number = number;
        this.state = state;
        this.filmsId = filmsId;
        this.choose = choose;
        this.spare = spare;
    }

    @Override
    public String toString() {
        return "Seat{" +
                "id=" + id +
                ", cinemaId=" + cinemaId +
                ", rows=" + rows +
                ", number=" + number +
                ", state=" + state +
                ", filmsId='" + filmsId + '\'' +
                ", choose='" + choose + '\'' +
                ", spare=" + spare +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCinemaId() {
        return cinemaId;
    }

    public void setCinemaId(Integer cinemaId) {
        this.cinemaId = cinemaId;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getFilmsId() {
        return filmsId;
    }

    public void setFilmsId(String filmsId) {
        this.filmsId = filmsId;
    }

    public String getChoose() {
        return choose;
    }

    public void setChoose(String choose) {
        this.choose = choose;
    }

    public Integer getSpare() {
        return spare;
    }

    public void setSpare(Integer spare) {
        this.spare = spare;
    }
}
